/**
 * Simple drag source window.
 *
 * @author Andrey Anisimov <hercules@inbox.ru>
 * @see core.ui.Handle
 */

import core.ui.Handle;

class DragWindow extends Handle {
	
	/**
	 * Creates new drag window.
	 * 
	 * @param parent (Window) [optional] parent window
	 * @param x, y (int) [optional] coordinates
	 * @param width, height (int) [optional] window size.
	 */	
	this.DragWindow = function(parent, x, y, width, height) {
		super(parent, x, y, width, height);
		this.setDragWindow(this);
	}
}